package org.dromara.solonplugins.nettyservlet.http;

import java.util.Set;

import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;

import org.noear.solon.web.servlet.SolonServletInstaller;

public class NsContainerInitializer implements ServletContainerInitializer {
	SolonServletInstaller initializer;

	public NsContainerInitializer(ServletContext servletContext) {
	        this.initializer = new SolonServletInstaller();
	    }

	@Override
	public void onStartup(Set<Class<?>> set, ServletContext ctx) throws ServletException {
		initializer.startup(set, ctx);
	}
	
}
